<!--
Copyright 2004 - 2013 Wayne Grant
          2013 - 2017 Kai Kramer

This file is part of KeyStore Explorer.

KeyStore Explorer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

KeyStore Explorer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with KeyStore Explorer.  If not, see <http://www.gnu.org/licenses/>.
-->
<html>
    <head>
        <title>Generate a Key Pair</title>
        <link rel=stylesheet href="help.css" type="text/css">
    </head>

    <body>

        <h1>Generate a Key Pair</h1>
        <hr>

        To generate a Key Pair:

        <ol>
            <li>From the <b>Tools</b> menu, choose <b>Generate Key Pair</b>.
                Alternatively click on the <b>Generate Key Pair</b> tool bar
                button:
                <br><br>&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/genkeypair.png"></li>

            <br>

            <li>The <b>Generate Key Pair</b> dialog will be displayed.  Select an
                <b>Algorithm</b> and a <b>Key Size</b> and press the <b>OK</b> button.</li>

            <br>

            <li>The <b>Generating Key Pair</b> dialog will be displayed and will
                remain visible until Key Pair generation has completed.  For larger
                key sizes this may be quite some time.</li>

            <br>

            <li>The <b>Generate Key Pair Certificate</b> dialog will be displayed.</li>

            <br>

            <li>Select a <b>Version</b> and <b>Signature Algorithm</b> and enter a
                <b>Validity Period</b>, <b>Serial Number</b> and <b>Name</b>.</li>

            <br>

            <li>Optionally, for a version 3 certificate,
                <a href="addCertificateExtensions.html">add certificate extensions</a>
                by clicking on the <b>Add Extensions</b> button.</li>

            <br>

            <li>Press the <b>OK</b> button.</li>

            <br>

            <li>The <b>New Key Pair Entry Alias</b> dialog will be displayed.</li>

            <br>

            <li>Enter the alias for the new Key Pair entry and press the <b>OK</b> button.</li>

            <br>

            <li>If required the <b>New Key Pair Entry Password</b> dialog will be displayed.
                Enter the password with which to protect the new Key Pair entry, confirm it and
                press the <b>OK</b> button.</li>

            <br>

            <li>The new Key Pair entry will appear in the KeyStore Entries table.</li>
        </ol>

        <hr>

        <center><small>Copyright 2004 - 2013 Wayne Grant, 2013 - 2017 Kai Kramer</small></center>

    </body>
</html>
